Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

Lenovo IdeaPad Flex 5 14ARE05 Linux Touchpad Fix

If you're here, you've probably tried to get the touchpad on your Ideapad flex 5 14are05 working under Linux to no avail. I've been trying to get mine to work since I got it, and after a long time, it finally works for most of the time.

Note

SHA256 for EECN31WW.exe is 13230dea21242916bb18573509d454c2149d462f60b85dca23b2cfba6c5219ba

Laptop Model: Lenovo IdeaPad Flex 5 14ARE05 (AMD Ryzen 3 4300U/AMD Ryzen 5 4500U/AMD Ryzen 7 4700U) OS: Tested on Debian-based distros (Zorin OS 18 Pro, Ubuntu 22.04)

@timkarnold
timkarnold / volt_unbrick.py
Last active July 11, 2026 15:58
Chevy Volt Unbrick (HPCM2 SHVCS Reset Tool)
#!/usr/bin/env python3
r"""
Volt SHVCS unbrick -- all in one.
Reads the HPCM2 security seed over a VXDIAG VCX Nano (J2534), auto-computes the
unlock key, and clears the SHVCS / "Propulsion Power Is Reduced" fault. No app,
no subscription, no Techline -- just the Nano you already own.
Pipeline (all to the HPCM2 at CAN 0x7E4, ISO15765 @ 500k):
27 01 -> read seed (67 01 XX XX)
@Chlorek
Chlorek / opencode-codex-identity-plugin.ts
Last active July 11, 2026 15:50
Fix GPT-5.6 Luna in OpenCode - Plugin
import type { Plugin } from "@opencode-ai/plugin"
export default (async () => ({
"chat.headers": async (input, output) => {
if (input.model.providerID !== "openai") return
output.headers.originator = "codex_cli_rs"
output.headers["User-Agent"] = "codex_cli_rs/0.0.0 (OpenCode)"
},
})) satisfies Plugin
@babyblueviper1
babyblueviper1 / jcs_test_vectors.md
Last active July 11, 2026 15:49
JCS conformance test vectors for invinoveritas decision_ref (co-verification w/ HORIZON SHIELD)

JCS Conformance Test Vectors — invinoveritas decision_ref

Proposed to 大賀俊勝 (HORIZON SHIELD) on LinkedIn, 2026-07-11: shared adversarial verification — we own the canonicalizer and author the vectors, he verifies the hash leg from outside our stack using only plain sha256 (no JCS in his tooling). "If it holds against someone running none of your code, it holds."

STATUS (2026-07-11): INDEPENDENTLY CONFIRMED. 大賀俊勝 ran all three vectors cold — stock sha256 over the canonical bytes below, no JCS anywhere in his path — and all three hashes matched ours exactly. His own framing of why the Vector 2 match matters most: sha256 IS the

@ndraiman
ndraiman / ssh_into_wsl2.md
Last active July 11, 2026 15:47
SSH Into WSL2

Guide: How to SSH Into WSL2

Install WSL2 SSH server

  1. Open your wsl ubuntu terminal

  2. install open-ssh server

    sudo apt update 

sudo apt install openssh-server

@sudoingX
sudoingX / qwen3.5_chat_template.jinja
Created March 7, 2026 11:57
Patched Jinja template for Qwen 3.5 27B - fixes developer role crash + preserves thinking mode (thinking = 1). Drop-in replacement for agent tools (OpenCode, Claude Code, Continue, Cursor, Aider). Without this patch, --chat-template chatml silently kills thinking mode.
{%- set image_count = namespace(value=0) %}
{%- set video_count = namespace(value=0) %}
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
{%- if content is string %}
{{- content }}
{%- elif content is iterable and content is not mapping %}
{%- for item in content %}
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
{%- if is_system_content %}
{{- raise_exception('System message cannot contain images.') }}
@gitgotgitgotit
gitgotgitgotit / Bh.md
Last active July 11, 2026 15:45
🐕 BloodHound Ecosystem
bloodhound_ecosystem_infographic

🐕 BloodHound Ecosystem

A structured overview of the BloodHound attack-path analysis ecosystem — official ingestors, community collectors, converters, ADWS alternatives, analysis tools, deployment helpers, and supporting frameworks.

Legend

  • 🟢 Official — maintained by SpecterOps
  • 🔵 Community — third-party / unofficial